package top.lyc829.zzl_android.logic.util;

/**
 * @Author lyc
 * @create 2021-03-13 22:19
 */
public class PageInfo {

    /**
     * 一页最大item数
     */
    public static final int MAX_ITEM = 10;

    private int page = 1;

    public void nextPage() {
        page++;
    }

    public int getPage() {
        return page;
    }

    public void reset() {
        page = 1;
    }
    public boolean isFirstPage() {
        return page == 1;
    }
}
